Class AmigoDummy

java.lang.Object
  extended byAmigoDummy
All Implemented Interfaces:
RARobotInterface, java.io.Serializable

public class AmigoDummy
extends java.lang.Object
implements java.io.Serializable, RARobotInterface

Dummy version of Amigo for testing purposes.

See Also:
Serialized Form

Constructor Summary
AmigoDummy()
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 RADataType getCameraValue()
          Return a camera value (a.k.a.
 java.lang.String[] getSensorIDs()
           
 RADataType getSensorValue(java.lang.String sensor_id)
          Return the sensor value of the sensor indicated with the id specified.
 void initRobot()
           
 void initRobot(int maxSpeed)
           
 void robotGo(double speed, double angle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmigoDummy

public AmigoDummy()
Method Detail

initRobot

public void initRobot()

initRobot

public void initRobot(int maxSpeed)

connect

public void connect()
Specified by:
connect in interface RARobotInterface

disconnect

public void disconnect()
Specified by:
disconnect in interface RARobotInterface

robotGo

public void robotGo(double speed,
                    double angle)
Specified by:
robotGo in interface RARobotInterface

getSensorIDs

public java.lang.String[] getSensorIDs()
Specified by:
getSensorIDs in interface RARobotInterface

getSensorValue

public final RADataType getSensorValue(java.lang.String sensor_id)
                                throws RAException
Return the sensor value of the sensor indicated with the id specified.

Specified by:
getSensorValue in interface RARobotInterface
Throws:
RAException

getCameraValue

public RADataType getCameraValue()
                          throws RAException
Return a camera value (a.k.a. NOTHING).

Throws:
RAException